<extend name="public@base"/>
block(name='main')
    .wrap
        form.form-horizontal.js-ajax-form(method='post', action="{:url('mailer/test')}")
            .form-group
                label.col.col-form-label(for='input-to')
                    span.form-required
                    | 收件箱
                .col
                    input#input-to.form-control(type='text', name='to')
            .form-group
                label.col.col-form-label(for='input-subject')
                    span.form-required
                    | 标题
                .col
                    input#input-subject.form-control(type='text', name='subject')
            .form-group
                label.col.col-form-label(for='input-content')
                    span.form-required
                    | 内容
                .col
                    textarea#input-content.form-control(name='content')
            .form-group
                .col-auto
                    button.btn.btn-sm.btn-primary.js-ajax-submit(type='submit') 发送